package com.aruba.feignclient.fallback;

import com.aruba.feignclient.DemoFeignClient;
import org.springframework.stereotype.Component;

@Component
public class DemoFeignClientFallback implements DemoFeignClient {
    @Override
    public String demo() {
        return "发生服务降级！";
    }

    @Override
    public String timeout() {
        return "发生服务降级！";
    }
}
